package han_meng_fei_sha.wai_mai_shun_feng_che;
import android.content.Context;
import android.widget.SearchView;

import han_meng_fei_sha.wai_mai_shun_feng_che.activity.MuDiDi;
import han_meng_fei_sha.wai_mai_shun_feng_che.util.日志工具;
/**
 韩梦飞沙 韩亚飞 313134555@qq.com yue31313 han_meng_fei_sha
 on 2017/11/5.
 */
public class 查询文本监听器 implements SearchView.OnQueryTextListener
{
    Context 环境;
    public 查询文本监听器(Context 环境)
    {
        this.环境=环境;
    }
    @Override
    public boolean onQueryTextSubmit(String s)
    {
        if(环境==null) return false;
        日志工具.信息("查询"+s);
        MyApp.提示工具.长提示美化版(s);
        MuDiDi.启动该页面(环境);
        return false;
    }
    @Override
    public boolean onQueryTextChange(String s)
    {
        return false;
    }
}
